home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / chat / ircii-2.8he / ircii-2 / help / LOAD / REPEAT < prev    next >
Encoding:
Text File  |  1993-05-04  |  672 b   |  18 lines

  1. Usage: LOAD repeat
  2.   This is a sample of using the WHILE command in an alias.  Once
  3.   loaded, here is it's usage:
  4.  
  5. Additionnal commands available:
  6.   REPEAT <count> <cmd>
  7.   This will perform <cmd> for the number of times specified by
  8.   <count>. For example:
  9.     REPEAT 5 /msg bigcheese Hello!
  10.   This will send the message "Hello!" to bigcheese 5 times.  
  11.   The above example can get annoying, so try to not to use
  12.   this to really bother people.
  13.  
  14. Note: repeat is an excellent example of how to use the WHILE
  15.   construct.   Included in this script is the RECREPEAT command
  16.   which works just like REPEAT but does so using recursion.
  17.   Both are good simple examples.
  18.